---
title: Examples
---

We have curated examples to help you learn Motia, organized by complexity from basic concepts to production-ready implementations.

## 📚 Basic Examples
Start here to learn core Motia concepts with straightforward implementations.

<Cards>
  <Card
    title="Sentiment Analysis"
    href="/docs/examples/sentiment-analysis"
    description="Learn dynamic workflows with LLM-driven decision making and event routing"
  />
  <Card
    title="Multi-Language Processing"
    href="/docs/examples/multi-language-data-processing"
    description="Combine TypeScript, Python, and JavaScript in unified data pipelines"
  />
</Cards>

## 🔧 Intermediate Examples
Build more complex workflows with integrations and advanced patterns.

<Cards>
  <Card
    title="AI Content Moderation"
    href="/docs/examples/ai-content-moderation"
    description="Human-in-the-loop content moderation with AI analysis and Slack integration"
  />
  <Card
    title="RAG PDF Analyzer"
    href="/docs/examples/rag-docling-weaviate"
    description="Intelligent document processing with Docling and Weaviate vector database"
  />
  <Card
    title="Trello Automation"
    href="/docs/examples/trello-automation"
    description="Automated card progression system with AI-powered summaries and notifications"
  />
</Cards>

## 🏭 Production Examples
Enterprise-ready implementations handling real traffic at scale.

<Cards>
  <Card
    title="Uptime Monitor"
    href="/docs/examples/uptime-discord-monitor"
    description="Complete monitoring system with smart alerting and Discord integration"
  />
  <Card
    title="GitHub Stars Counter"
    href="/docs/examples/github-stars-counter"
    description="Real-time stars counter with secure webhooks and live streaming"
  />
  <Card
    title="GitHub Integration"
    href="/docs/examples/github-integration-workflow"
    description="Automated issue and PR management with AI-powered classification and routing"
  />
  <Card
    title="Gmail Automation"
    href="/docs/examples/gmail-automation"
    description="Smart email classification, auto-responses, and AI-powered filtering with OAuth2"
  />
  <Card
    title="Finance Agent"
    href="/docs/examples/finance-agent"
    description="Event-driven financial analysis with web search and real-time market data"
  />
  <Card
    title="AI Research Agent"
    href="/docs/examples/ai-deep-research-agent"
    description="Comprehensive web research assistant with iterative depth and parallel processing"
  />
</Cards>


<br/>

## 💻 Explore the Source Code

All examples include complete, runnable source code with configuration files, setup instructions, and production-ready implementations:

<div className="not-prose">
  <div className="bg-gradient-to-r from-indigo-50 to-purple-50 border border-indigo-200 rounded-lg p-6 my-6">
    <div className="flex items-start space-x-4">
      <div className="flex-shrink-0">
        <svg className="w-8 h-8 text-indigo-600" fill="currentColor" viewBox="0 0 20 20">
          <path fillRule="evenodd" d="M12.316 3.051a1 1 0 01.633 1.265l-4 12a1 1 0 11-1.898-.632l4-12a1 1 0 011.265-.633zM5.707 6.293a1 1 0 010 1.414L3.414 10l2.293 2.293a1 1 0 11-1.414 1.414l-3-3a1 1 0 010-1.414l3-3a1 1 0 011.414 0zm8.586 0a1 1 0 011.414 0l3 3a1 1 0 010 1.414l-3 3a1 1 0 11-1.414-1.414L16.586 10l-2.293-2.293a1 1 0 010-1.414z" clipRule="evenodd" />
        </svg>
      </div>
      <div className="flex-1">
        <h3 className="text-lg font-semibold text-gray-900 mb-2">Motia Examples Repository</h3>
        <p className="text-gray-600 mb-4">Access complete implementations, step-by-step tutorials, and production-ready configurations for all our examples. Perfect for learning, experimentation, and building your own applications.</p>
        <div className="grid grid-cols-1 sm:grid-cols-3 gap-3">
          <a 
            href="https://github.com/MotiaDev/motia-examples" 
            target="_blank" 
            rel="noopener noreferrer"
            className="inline-flex items-center justify-center px-4 py-2 bg-indigo-600 hover:bg-indigo-700 text-white font-medium rounded-md transition-colors duration-200"
          >
            <svg className="w-4 h-4 mr-2" fill="currentColor" viewBox="0 0 24 24">
              <path d="M12 0C5.374 0 0 5.373 0 12 0 17.302 3.438 21.8 8.207 23.387c.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-5.373-12-12-12z"/>
            </svg>
            Repository
          </a>
          <a 
            href="https://github.com/MotiaDev/motia-examples/tree/main/examples/rag-docling-weaviate-agent" 
            target="_blank" 
            rel="noopener noreferrer"
            className="inline-flex items-center justify-center px-4 py-2 bg-gray-100 hover:bg-gray-200 text-gray-800 font-medium rounded-md transition-colors duration-200"
          >
            RAG Example →
          </a>
          <a 
            href="https://github.com/MotiaDev/motia-examples/tree/main/examples/motia-uptime-monitor" 
            target="_blank" 
            rel="noopener noreferrer"
            className="inline-flex items-center justify-center px-4 py-2 bg-gray-100 hover:bg-gray-200 text-gray-800 font-medium rounded-md transition-colors duration-200"
          >
            Monitor Example →
          </a>
        </div>
      </div>
    </div>
  </div>
</div>

## Contribute

We welcome contributions to the examples. Please submit a PR to the [examples repository](https://github.com/motiadev/motia-examples).
